package com.zhangsr.zk.client.listener;

import org.apache.zookeeper.Watcher.Event.KeeperState;

/**
 * @Author: zhangsr
 */
public interface IZkConnectionListener {

    void handleConnectionChanged(KeeperState state) throws Exception;

    void handleReConnection() throws Exception;

    void handleConnectionError(Throwable error) throws Exception;

}
